package com.dq.controller.in.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuhui
 * @date 2019/9/26 0026 08:49:57
 */
@Data
@ApiModel("修改密码")
public class EditPwd {
    @ApiModelProperty("新密码")
    @NotBlank(message = "请输入新密码")
    private String pwd;
    @NotBlank(message = "请输入旧密码")
    @ApiModelProperty("老密码")
    private String oldPwd;
}
